/** @file trim_bar.h
 */
#ifndef _TRIM_BAR_H_
#define _TRIM_BAR_H_

#include "widget.h"

class TrimBar:public Widget
{
public:
    TrimBar(HWND parent=0, int vstyle=0);
    ~TrimBar();
    
    void setPosition();
    int getPosition();
    
private:
    char vstyle;
    char expo;
    int position;
    virtual void draw(Rect *r);
    virtual int eventHandler(HWND hWnd, int iMsg, WPARAM wParam, LPARAM lParam);
};

#endif


